package net.stogi.common.gwt.frame.client.module;


public interface ModuleFactory<M extends Module> {

	public interface ModuleInstanceCallback<M> {

		void onBeforeModuleInstanceCreated();

		void onModuleInstanceCreated(M module);
	}

	void getInstance(ModuleInstanceCallback<M> callback);
}
